home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 10354 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  981 b 

  1. Path: castle.nando.net!news
  2. From: actuary@nando.net   (Bill McCarthy)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Converting Strings to Upper Case
  5. Date: 17 Mar 1996 03:58:29 GMT
  6. Organization: Nando.net Public Access
  7. Message-ID: <4ig2l5$5p1@castle.nando.net>
  8. References: <4ifra6$52i@scipio.cyberstore.ca>
  9. Reply-To: actuary@nando.net (Bill McCarthy)
  10. NNTP-Posting-Host: grail308.nando.net
  11. X-Newsreader: IBM NewsReader/2 v1.2
  12.  
  13. In <4ifra6$52i@scipio.cyberstore.ca>, ejw@news.cyberstore.ca () writes:
  14. >Hi,
  15. >
  16. >I need to write a function to convert a string containg upper or lower case
  17. >characters to the opposite case.  Something like:
  18. >
  19. >  void libConvertUpperCase(char *str);    and
  20. >  void libConvertLowerCase(char *str);
  21. >
  22. >and the string would be modified.  I just can't seem to wrap my head around 
  23. >the best way that I know is better than writing a for loop to check each 
  24. >element in the array?
  25.  
  26. You forget to post your code for comment.
  27.  
  28. Bill McCarthy
  29. actuary@nando.net
  30. Wendell, NC  USA
  31.  
  32.